package com.wiz.web.dao.mapper;

import org.apache.ibatis.annotations.Param;

import com.wiz.web.vo.to.StationLoginTO;

public interface LoginMapper {

	/**
	 * 获取站点登录注册相关信息
	 * @param stationId
	 * @return
	 */
	StationLoginTO getStationLoginTO(@Param(value="stationId")String stationId);
	
	/**
	 * 激活某站点
	 * @param stationId
	 * @param stationMac
	 * @return
	 */
	int activateStation(@Param(value="stationId")String stationId,@Param(value="activationCode")String activationCode,
			@Param(value="stationMac")String stationMac,@Param(value="staticKey")String staticKey);
	
	/**
	 * 存储站点动态密钥
	 * @param stationId
	 * @return
	 */
	int setDynamicKey(@Param(value="stationId")String stationId,
			@Param(value="dynamicKey")String dynamicKey);
}
